<%-- 
    Document   : prueba
    Created on : 5/04/2008, 10:20:05 PM
    Author     : Guillermo Falcon C
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%! String nombre = null;%>
<%! String boleta = null;%>
<%! String materia = null;%>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <%
            out.println("<table>");
            out.println("<tr>");
            out.println("<td>" + "Nombre" + "</td>");
            out.println("<td>" + "Boleta" + "</td>");
            out.println("<td>" + "Materia" + "</td>");
            out.println("</tr>");

            nombre = request.getParameter("nombre");
            out.println("<tr>");
            out.println("<td>" + nombre + "</td>");
            boleta = request.getParameter("boleta");
            out.println("<td>" + boleta + "</td>");
            materia = request.getParameter("materia");
            if (materia.compareTo("calculo") == 0) {
                out.println("<td>" + materia + "</td>");
            } else {
                out.println("<td>" + materia + "</td>");
            }
            out.println("</tr>");
            out.println("</table>"); 
        %>
    </body>
</html>
